<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns="http://www.thymeleaf.org">
<script type="text/javascript" th:src="@{/js/list.js}"></script>
<style>
    table, td {
        border: 1px solid grey;
        border-collapse: collapse;
        padding: 5px;
    }
</style>
<br/><br/>
<table align="center">
    <tr>
        <td>姓名</td>
        <td>角色</td>
        <td>创建时间</td>
    </tr>
    <tr ng-repeat="user in user">
        <td style="{{$even?'background-color: #f1f1f1':''}}">{{ user.name }}</td>
        <td style="{{$even?'background-color: #f1f1f1':''}}">{{ user.description}}</td>
        <td style="{{$even?'background-color: #f1f1f1':''}}">{{ user.createDate}}</td>
    </tr>
</table>
</html>